<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    #root {
      margin: 0 auto;
      background: #000;
      position: relative;
    }

    #panel {
      background: #000;
    }

    #tip {
      position: absolute;
      top: 0;
      right: 0;
      transform: translateX(100%);
    }

    #next {
      position: relative;
    }

    #score {
      font-size: 4em;
      font-weight: bold;
      color: #f20;
      text-align: center;
    }

    #msg {
      position: absolute;
      width: 100%;
      height: 100%;
      background: rgba(255, 255, 255, .3);
      z-index: 999;
      display: flex;
      justify-content: center;
      align-items: center;
      display: none;
    }

    #msg p {
      border: 2px solid #fff;
      padding: 1em;
      background: #f20;
      color: #fff;
    }
  </style>
</head>

<body>
  <div id="root">
    <div id="panel">
      <div id="msg">
        <p>
          游戏暂停
        </p>
      </div>
    </div>
    <div id="tip">
      <div id="next"></div>
      <div id="score"></div>
      <p>
        使用键盘进行游戏：
      </p>
      <p>
        ↑：旋转
      </p>
      <p>
        ↓：向下
      </p>
      <p>
        ←：左
      </p>
      <p>
        →：右
      </p>
      <p>
        空格：暂停/恢复/开始
      </p>
    </div>

  </div>
  </div>
  <div style="text-align: center;">
  </div>
</body>

</html>